package cn.zhaozhiqi.article.mapper;

import cn.zhaozhiqi.article.domain.ArticleType;
import cn.zhaozhiqi.article.query.ArticleTypeQuery;
import cn.zhaozhiqi.article.vo.ArticleTypeTreeVO;

import java.util.List;

public interface ArticleTypeMapper {

    ArticleType getByID(Long id);



    void addData(ArticleType articleType);

    void updateByID(ArticleType articleType);

    void deleteByID(Long id);

    List<ArticleType> getSearchList(ArticleTypeQuery query);

    void batchdelete(List<Long> ids);


    List<ArticleType> getAll();

    List<ArticleTypeTreeVO> getAllData();
}
